package com.jzr.bedside.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 科室
 * </p>
 *
 * @author henry
 * @since 2019-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TDept对象", description="科室")
public class TDept implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_dept";
    public static final String Id_ = "id";
    public static final String DistrictCode_ = "district_code";
    public static final String Code_ = "code";
    public static final String Name_ = "name";
    public static final String Ename_ = "ename";
    public static final String SimpleName_ = "simple_name";
    public static final String Type_ = "type";
    public static final String Intro_ = "intro";
    public static final String RegdeptFlag_ = "regdept_flag";
    public static final String TatdeptFlag_ = "tatdept_flag";
    public static final String DeptPro_ = "dept_pro";
    public static final String Status_ = "status";
    public static final String Principal_ = "principal";
    public static final String Phone_ = "phone";
    public static final String Remark_ = "remark";
    public static final String OperateTime_ = "operate_time";
    public static final String UpdateTime_ = "update_time";
    public static final String UpdateBy_ = "update_by";
    public static final String IsDel_ = "is_del";


    @ApiModelProperty(value = "科室ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "病区代码")
    @TableField("district_code")
    private String districtCode;

    @ApiModelProperty(value = "科室编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "科室名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "科室英文")
    @TableField("ename")
    private String ename;

    @ApiModelProperty(value = "科室简称")
    @TableField("simple_name")
    private String simpleName;

    @ApiModelProperty(value = "科室类型")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "简介")
    @TableField("intro")
    private String intro;

    @ApiModelProperty(value = "是否挂号科室;0-假； 1-真;")
    @TableField("regdept_flag")
    private Integer regdeptFlag;

    @ApiModelProperty(value = "是否核算科室 0-假； 1-真;")
    @TableField("tatdept_flag")
    private Integer tatdeptFlag;

    @ApiModelProperty(value = "特殊科室属性0 普通, 1 手术,  2 麻醉, 3 ICU,  4 CCU, C 产科,E急诊留观,T")
    @TableField("dept_pro")
    private String deptPro;

    @ApiModelProperty(value = "有效性标志;1在用 0 停用 2 废弃")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "科室负责人")
    @TableField("principal")
    private String principal;

    @ApiModelProperty(value = "科室电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "操作时间")
    @TableField("operate_time")
    private LocalDateTime operateTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "删除标记")
    @TableField("is_del")
    private Boolean isDel;


}
